package com.buba.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.buba.pojo.Vendor;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 厂商表 服务类
 * </p>
 *
 * @author MrJia
 * @since 2020-10-29
 */
public interface VendorService extends IService<Vendor> {
//    public Boolean add(Vendor vendor, MultipartFile businessLicenseFile, MultipartFile signContentFile);

    public IPage<Vendor> selectList(Integer page, Integer limit, Vendor vendor);

    public IPage<Vendor> selectListByCondition(Page<Vendor> page, Vendor vendor);

    public boolean updateDept(Vendor vendor);
}
